Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Close statements #38

Merged
merged 1 commit into from
Jun 3, 2024
Merged

Close statements #38

merged 1 commit into from
Jun 3, 2024

Conversation

chris124567
Copy link
Member

@chris124567 chris124567 commented Jun 3, 2024

Add two stmt.Close()s for statements that were not being closed

Edit: sqlclosecheck won't work because of our wrapping around database functions. Custom linter could probably be made, but probably not worth it given that these are in general low stakes issues.

@chris124567 chris124567 marked this pull request as draft June 3, 2024 15:04
@chris124567 chris124567 changed the title Close statements and add linter to prevent from happening again Close statements Jun 3, 2024
@chris124567 chris124567 marked this pull request as ready for review June 3, 2024 15:24
@n8maninger n8maninger merged commit 1b6dfe7 into master Jun 3, 2024
6 checks passed
@n8maninger n8maninger deleted the close-statements branch June 3, 2024 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants